package org.xq.softcup.mq.remoting.net.params;

import java.io.Serializable;
import java.util.Arrays;

public class XQRpcRequest implements Serializable {
    private static final long serialVersionUID = 42L;
    private String requestId;
    private long createMillisTime;
    private String accessToken;
    private String className;
    private String methodName;
    private Class<?>[] parameterTypes;
    private Object[] parameters;
    private String version;

    public String getRequestId() {
        return this.requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public long getCreateMillisTime() {
        return this.createMillisTime;
    }

    public void setCreateMillisTime(long createMillisTime) {
        this.createMillisTime = createMillisTime;
    }

    public String getAccessToken() {
        return this.accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getClassName() {
        return this.className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return this.methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParameterTypes() {
        return this.parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public Object[] getParameters() {
        return this.parameters;
    }

    public void setParameters(Object[] parameters) {
        this.parameters = parameters;
    }

    public String getVersion() {
        return this.version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String toString() {
        return "XQRpcRequest{requestId='" + this.requestId + '\'' + ", createMillisTime=" + this.createMillisTime + ", accessToken='" + this.accessToken + '\'' + ", className='" + this.className + '\'' + ", methodName='" + this.methodName + '\'' + ", parameterTypes=" + Arrays.toString(this.parameterTypes) + ", parameters=" + Arrays.toString(this.parameters) + ", version='" + this.version + '\'' + '}';
    }
}
